package com.mojian.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mojian.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;
import java.io.Serializable;

@Data
@TableName("sys_zb")
@ApiModel(value = "招标对象")
public class SysZb implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "用户(供应商)id")
    private Long userId;

    @ApiModelProperty(value = "公告标题")
    private String zbbt;

    @ApiModelProperty(value = "招标文件")
    private String zbwj;

    @ApiModelProperty(value = "招标描述")
    private String zbms;

    @ApiModelProperty(value = "状态 0：待激活 1：激活 2：归档")
    private Integer status;

    @ApiModelProperty(value = "开始日期")
    private String ksrq;

    @ApiModelProperty(value = "结束日期")
    private String jsrq;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS, timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS, timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "")
    private String a1;

    @ApiModelProperty(value = "")
    private String a2;

    @ApiModelProperty(value = "")
    private String a3;

    @ApiModelProperty(value = "")
    private String a4;

    @ApiModelProperty(value = "")
    private String a5;

    @ApiModelProperty(value = "")
    private String a6;

    @ApiModelProperty(value = "")
    private String a7;

    @ApiModelProperty(value = "")
    private String a8;

    @ApiModelProperty(value = "")
    private String a9;

    @ApiModelProperty(value = "")
    private String a10;
}
